
TOPDIR := $(PWD)
LIBS_DIR := $(TOPDIR)/src
CROSS_PREFIX := aarch64-linux-gnu-

LIBS-y += $(LIBS_DIR)/board/fm/


#the include must under LIBS-y, over other
include $(TOPDIR)/script/Makefile.test



test-y += test_tnc.o



test: libtarmac.so 

libtarmac.so: $(LIBS) $(test-y)
	$(CXX) $(CFLAGS) -lpthread -ldl -lrt -shared  $^ -o $(TEST_DIR)/$@	

